package com.hst.capacity.domain.model.request.vehicle;

import com.hst.capacity.domain.model.request.PageParam;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import javax.validation.constraints.NotEmpty;

@Data
@Alias("vehicleSearchParam")
public class VehicleSearchParam extends PageParam {
    @NotEmpty(message = "运营商ID[idFranchisee]不能为空")
    private String idFranchisee;
//    @NotEmpty(message = "区域code[regionCodes]不能为空")
    private String regionCodes;
//    @NotEmpty(message = "运力公司/代理商ID[idAgent]不能为空")
//    private String idAgents;去除
//    @NotEmpty(message = "车辆型号[vehicleModel]不能为空")
    private String vehicleModels;
//    @NotEmpty(message = "车牌号[plateNumber]不能为空")
    private String plateNumber;
//    @NotEmpty(message = "司机姓名[nameDriver]不能为空")
    private String nameDriver;
//    @NotEmpty(message = "司机手机号[driverMobile]不能为空")
    private String driverMobile;
//    @NotNull(message = "司机绑车状态[isBandCar]不能为空")
    private Integer isBandCar;

}
